// prizeDetail.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    prizeType:"",
    
  
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    let prizeType = options.prizeType;
    this.setData({
      prizeType: prizeType,
    })
  
  },
  checkPrizeHistory() 
  {
    wx.navigateTo({
      url: '../user/prize/prize',
    })

  },
  goHomePage() //进入首页
  {
    wx.switchTab({
      url: '../home/home',
    })
  },
  shoppingDetail()
  {
    let id = "3bf8cd8d-80b1-4378-8339-132f147e";
    wx.navigateTo({
      url: `../store/store?id=${id}`
    })
  }
})